package com.hqyj.am.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.am.pojo.ResultVo;
import com.hqyj.am.pojo.Vacation;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rock
<<<<<<< HEAD
 * @since 2022-08-19
 */
public interface IVacationService extends IService<Vacation> {
    //员工分页查询个人
    ResultVo queryByPage(Vacation vacation);

    ResultVo pageVacationAll(Vacation vacation);

    //员工增加请假
    ResultVo addVacation(Vacation Vacation);
    //员工-修改请假
    ResultVo updateVacation(Vacation vacation);
    //领导-修改请假
    ResultVo updateVacationState(Vacation vacation);
    //删除请假
    ResultVo deleteVacation(Vacation vacation);
    //根据员工姓名-多表查询
    ResultVo selectByUserName(String userName);
    //根据请假-出差id单表查询
    ResultVo selectByVacationId(Integer vacationId);
    //领导根据(未审核)在前排序查询
    ResultVo selectByState(String vacationState);

    ResultVo scheduleThing(String vacationState);
}
